function drawChart(cavas_div, attr_list) {
	var rest_url = "json_line/";
	d3.json(rest_url + attr_list, function(data) {								
		var data3 = new google.visualization.DataTable();
		//queried attr_list
		var query_list = [];
		//add x-axis
		data3.addColumn('string', 'Time');
		
		query_list = data.query_list
		//add y-axis
		for(var i = 0; i < query_list.length ; i++)
		{
			data3.addColumn('number', query_list[i]);
		}
		//input Data
		data3.addRows(data.data_list);
		var options = {
			title : 'Term Frequency of IT Mega Trend',
			curveType : "function"
		};
		var chart = new google.visualization.LineChart(document.getElementById(cavas_div));
		chart.draw(data3, options);		 
	});	
};